
import LoginFirst from '@/views/login/LoginFirst'
import NavMenu from "@/components/login/NavMenu";
import FormLogin from "@/components/login/FormLogin";
import ShortMessage from "@/components/login/ShortMessage";
import QrCode from "@/components/login/QrCode";
import Register from "@/components/login/Register";
import GoRegister from "@/views/register/GoRegister";
import Index from "@/views/index/index";

// 当我们需要进行多个组件的注册时候, 假如说都写到main.js里面的话, 这样就会造成main.js文件的臃肿与杂乱
export default {
    install(Vue) {
        Vue.component('LoginFirst', LoginFirst);
        Vue.component('NavMenu', NavMenu);
        Vue.component('FormLogin',FormLogin);
        Vue.component('ShortMessage',ShortMessage);
        Vue.component('QrCode',QrCode);
        Vue.component('Register',Register);
        Vue.component('GoRegister',GoRegister);
        Vue.component('Index',Index);
    }
}
